{"version":3,"file":"color_button.map.js","names":["BX","namespace","Landing","UI","Button","ColorAction","id","options","EditorAction","apply","this","arguments","layout","classList","add","pickerWindow","Panel","EditorPanel","getInstance","isOutOfFrame","window","parent","colorPicker","Tool","ColorPicker","onColorSelected","bind","instances","push","hideAll","forEach","button","hide","prototype","constructor","__proto__","onClick","event","preventDefault","stopPropagation","position","isFixed","isShown","show","ChangeTag","menu","close","color","applyColorInTableCells","applyBgInTableCells","contextDocument","execCommand","setTd","Array","from","td","nodeType","style","target","table","setAttribute","Block","Node","Text","currentNode","onChange","prepareOptionsForApplyColorInTableCells","contains","setProperty","setContextDocument"],"sources":["color_button.js"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,wBAabD,GAAGE,QAAQC,GAAGC,OAAOC,YAAc,SAASC,EAAIC,GAE/CP,GAAGE,QAAQC,GAAGC,OAAOI,aAAaC,MAAMC,KAAMC,WAC9CD,KAAKJ,GAAKA,EACVI,KAAKH,QAAUA,EACf,GAAIG,KAAKJ,KAAO,eAChB,CACCI,KAAKE,OAAOC,UAAUC,IAAI,wCAC3B,CACA,MAAMC,EAAef,GAAGE,QAAQC,GAAGa,MAAMC,YAAYC,cAAcC,eAChEC,OAAOC,OACPD,OAEHV,KAAKY,YAAc,IAAIP,EAAaf,GAAGE,QAAQC,GAAGoB,KAAKC,YAAYd,KAAMA,KAAKe,gBAAgBC,KAAKhB,OACnGV,GAAGE,QAAQC,GAAGC,OAAOC,YAAYsB,UAAUC,KAAKlB,KACjD,EAEAV,GAAGE,QAAQC,GAAGC,OAAOC,YAAYsB,UAAY,GAE7C3B,GAAGE,QAAQC,GAAGC,OAAOC,YAAYwB,QAAU,WAE1C7B,GAAGE,QAAQC,GAAGC,OAAOC,YAAYsB,UAAUG,SAAQ,SAASC,GAC3DA,EAAOT,YAAYU,MACpB,GACD,EAEAhC,GAAGE,QAAQC,GAAGC,OAAOC,YAAY4B,UAAY,CAC5CC,YAAalC,GAAGE,QAAQC,GAAGC,OAAOC,Y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